//
//  SpecialTouristSection.m
//  SXH
//
//  Created by Ryan on 16/3/18.
//  Copyright © 2016年 lyss. All rights reserved.
//

#import "SpecialTouristSection.h"

@implementation SpecialTouristSection

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)expandBtnClick:(id)sender
{
    if (self.isExpand)
    {
        [self.expandBtn setImage:[UIImage imageNamed:@"btn_zhankai_normal"] forState:UIControlStateNormal];
    }
    else
    {
        [self.expandBtn setImage:[UIImage imageNamed:@"btn_shouqi_normal"] forState:UIControlStateNormal];
    }
   
    self.isExpand = !self.isExpand;
    if ([_delegate respondsToSelector:@selector(sectiondidSelect:)])
    {
        [_delegate sectiondidSelect:self.isExpand];
    }
}

@end
